/**
 * Created by liuqingxia on 2016/5/30.
 */

var jobTable_once;
var jobTable_cron;

$(document).ready(function () {

    var jobTable_once = $("#job-table-once-container").ltsTable({
        url: getUrlBySuffix("/job/findByExecuteType"),
        templateId: 'job-table-once'
    });

    var jobTable_cron = $("#job-table-cron-container").ltsTable({
        url: getUrlBySuffix("/job/findByExecuteType"),
        templateId: 'job-table-cron'
    });

    jobTable_once.post({executeType: 1}, 1);
    jobTable_cron.post({executeType: 0}, 1);

});
